| Miles Sound System SDK 7.2a |
Miles contains a powerful diagnostic feature that allows developers to create a timestamped list of all of their application's foreground Miles calls, along with their parameters and results. The call log will be sent to an application callback routine registered with AIL_register_trace_callback, or to a plain text file if no debug-trace callback function has been registered by the application.
To take advantage of MSS's built-in logging without recompiling your application, set the DOS environment variable "MSS_DEBUG" to a filename to write the log to. During execution of all subsequent Miles calls, a timestamped API call log will be written to the specified file.
For example, to dump the API call log to a file name foo.txt, execute the following command at the DOS prompt:
set MSS_DEBUG=foo.txt
You can also view MSS's internal function calls by running the extra command, "set MSS_SYS_DEBUG=1".
Next Topic (Miles Examples for DOS)
Previous Topic (Sharing the CPU under DOS)
Group:
Overview for DOS: Miles on DOS with 32-bit DOS Extenders
Related Functions:
AIL_register_trace_callback
Related FAQs:
My application is crashing - what should I try?, Where is the Miles source code? How can I rebuild it (in debug mode)?
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.